package org.his.pojo.xinwen;

import org.his.pojo.quanxuan.User;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;
import java.util.Objects;

public class NNew implements Serializable {
    private Integer newid;
    private String title;
    private User userid;
    private Timestamp publish;
    private NPublishType publishTypeId;//发表类型
    private NState stateid;//新闻状态
    private List<NContent> nContent;//新闻内容

    public List<NContent> getnContent() {
        return nContent;
    }

    public void setnContent(List<NContent> nContent) {
        this.nContent = nContent;
    }

    public User getUserid() {
        return userid;
    }

    public void setUserid(User userid) {
        this.userid = userid;
    }

    public NPublishType getPublishTypeId() {
        return publishTypeId;
    }

    public void setPublishTypeId(NPublishType publishTypeId) {
        this.publishTypeId = publishTypeId;
    }

    public NState getStateid() {
        return stateid;
    }

    public void setStateid(NState stateid) {
        this.stateid = stateid;
    }

    public NComment getCommentid() {
        return commentid;
    }

    public void setCommentid(NComment commentid) {
        this.commentid = commentid;
    }

    private NComment commentid;

    public Integer getNewid() {
        return newid;
    }

    public void setNewid(Integer newid) {
        this.newid = newid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Timestamp getPublish() {
        return publish;
    }

    public void setPublish(Timestamp publish) {
        this.publish = publish;
    }

}
